import request from "../utils/request.js";

 
export function products (data) {  //商品列表
	return request({
		url:'/api/v1/products',
		data
	})
}
export function productsInfo (params) {  //商品详情w
	return request({
		url:`/api/v1/products/${params}`,
	})
}     
  export function categories (data) {  //商品分类
  	return request({
  		url:'/api/v1/categories',
  		data
  	})
  }